From b85c58715204b142ddbe511811f8f08dac0a8270 Mon Sep 17 00:00:00 2001 From: Joe Shaw Date: Mon, 21 May 2001 05:35:03 +0000 Subject: [PATCH] Remove the assertion that top_y needs to be >= 0. 2001-05-21 Joe Shaw * gtk/gtklayout.c (gtk_text_layout_get_lines): Remove the assertion that top_y needs to be >= 0. --- ChangeLog | 5 +++++ ChangeLog.pre-2-0 | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-2 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gtk/gtktextlayout.c | 1 - 8 files changed, 35 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a43e82dc27..90b2c1ef08 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-05-21 Joe Shaw + + * gtk/gtklayout.c (gtk_text_layout_get_lines): Remove the assertion + that top_y needs to be >= 0. + 2001-05-11 Havoc Pennington * gdk/x11/gdkmain-x11.c: Improve error messages for X errors and diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index a43e82dc27..90b2c1ef08 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,8 @@ +2001-05-21 Joe Shaw + + * gtk/gtklayout.c (gtk_text_layout_get_lines): Remove the assertion + that top_y needs to be >= 0. + 2001-05-11 Havoc Pennington * gdk/x11/gdkmain-x11.c: Improve error messages for X errors and diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index a43e82dc27..90b2c1ef08 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2001-05-21 Joe Shaw + + * gtk/gtklayout.c (gtk_text_layout_get_lines): Remove the assertion + that top_y needs to be >= 0. + 2001-05-11 Havoc Pennington * gdk/x11/gdkmain-x11.c: Improve error messages for X errors and diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index a43e82dc27..90b2c1ef08 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +2001-05-21 Joe Shaw + + * gtk/gtklayout.c (gtk_text_layout_get_lines): Remove the assertion + that top_y needs to be >= 0. + 2001-05-11 Havoc Pennington * gdk/x11/gdkmain-x11.c: Improve error messages for X errors and diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index a43e82dc27..90b2c1ef08 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +2001-05-21 Joe Shaw + + * gtk/gtklayout.c (gtk_text_layout_get_lines): Remove the assertion + that top_y needs to be >= 0. + 2001-05-11 Havoc Pennington * gdk/x11/gdkmain-x11.c: Improve error messages for X errors and diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index a43e82dc27..90b2c1ef08 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +2001-05-21 Joe Shaw + + * gtk/gtklayout.c (gtk_text_layout_get_lines): Remove the assertion + that top_y needs to be >= 0. + 2001-05-11 Havoc Pennington * gdk/x11/gdkmain-x11.c: Improve error messages for X errors and diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index a43e82dc27..90b2c1ef08 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2001-05-21 Joe Shaw + + * gtk/gtklayout.c (gtk_text_layout_get_lines): Remove the assertion + that top_y needs to be >= 0. + 2001-05-11 Havoc Pennington * gdk/x11/gdkmain-x11.c: Improve error messages for X errors and diff --git a/gtk/gtktextlayout.c b/gtk/gtktextlayout.c index de68df6d8b..7bbc0d7395 100644 --- a/gtk/gtktextlayout.c +++ b/gtk/gtktextlayout.c @@ -545,7 +545,6 @@ gtk_text_layout_get_lines (GtkTextLayout *layout, layout, top_y, first_line_y); if (first_btree_line == NULL) { - g_assert (top_y > 0); /* off the bottom */ return NULL; } -- 2.30.2